/*    */ package com.zimbra.cs.account.accesscontrol;
/*    */ 
/*    */ import com.zimbra.cs.account.AccessManager.ViaGrant;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ViaGrantImpl
/*    */   extends AccessManager.ViaGrant
/*    */ {
/*    */   String mTargetType;
/*    */   String mTargetName;
/*    */   String mGranteeType;
/*    */   String mGranteeName;
/*    */   String mRight;
/*    */   boolean mIsNegativeGrant;
/*    */   
/*    */   public ViaGrantImpl(TargetType targetType, String targetName, GranteeType granteeType, String granteeName, Right right, boolean isNegativeGrant)
/*    */   {
/* 35 */     this.mTargetType = targetType.getCode();
/* 36 */     this.mTargetName = targetName;
/* 37 */     this.mGranteeType = granteeType.getCode();
/* 38 */     this.mGranteeName = granteeName;
/* 39 */     this.mRight = right.getName();
/* 40 */     this.mIsNegativeGrant = isNegativeGrant;
/*    */   }
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   public ViaGrantImpl(String targetType, String target, String granteeType, String granteeName, String right, boolean isNegativeGrant)
/*    */   {
/* 49 */     this.mTargetType = targetType;
/* 50 */     this.mTargetName = target;
/* 51 */     this.mGranteeType = granteeType;
/* 52 */     this.mGranteeName = granteeName;
/* 53 */     this.mRight = right;
/* 54 */     this.mIsNegativeGrant = isNegativeGrant;
/*    */   }
/*    */   
/*    */   public String getTargetType() {
/* 58 */     return this.mTargetType;
/*    */   }
/*    */   
/*    */   public String getTargetName() {
/* 62 */     return this.mTargetName;
/*    */   }
/*    */   
/*    */   public String getGranteeType() {
/* 66 */     return this.mGranteeType;
/*    */   }
/*    */   
/*    */   public String getGranteeName() {
/* 70 */     return this.mGranteeName;
/*    */   }
/*    */   
/*    */   public String getRight() {
/* 74 */     return this.mRight;
/*    */   }
/*    */   
/*    */   public boolean isNegativeGrant() {
/* 78 */     return this.mIsNegativeGrant;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/account/accesscontrol/ViaGrantImpl.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */